import {
    IsNotEmpty,
    IsString,
} from "class-validator";

export class DocumentTypeDto {
    @IsString({ message: 'type Is Not String' })
    @IsNotEmpty({ message: 'type不能为空' })
    type: string;
}